package com.example.mntz.model;

import java.util.Date;

public class Post {
    private Integer postid;

    private Integer userid;

    private String posttitle;

    private Integer Browses;

    private Date posttime;

    private String postStatu;

    private String posttext;

    private String postAcc;
    private String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPostStatu() {
        return postStatu;
    }

    public void setPostStatu(String postStatu) {
        this.postStatu = postStatu;
    }
    public String getPostAcc() {
        return postAcc;
    }

    public void setPostAcc(String postAcc) {
        this.postAcc = postAcc;
    }

    public Integer getPostid() {
        return postid;
    }

    public void setPostid(Integer postid) {
        this.postid = postid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getPosttitle() {
        return posttitle;
    }

    public void setPosttitle(String posttitle) {
        this.posttitle = posttitle == null ? null : posttitle.trim();
    }

    public Integer getBrowses() {
        return Browses;
    }

    public void setBrowses(Integer browses) {
        Browses = browses;
    }

    public Date getPosttime() {
        return posttime;
    }

    public void setPosttime(Date posttime) {
        this.posttime = posttime;
    }

    public String getPosttext() {
        return posttext;
    }

    public void setPosttext(String posttext) {
        this.posttext = posttext == null ? null : posttext.trim();
    }
}